package com.bestcem.xm.qdes.controller.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class QdesProjectentryVo {
    @ApiModelProperty(value = "用户ID")
    @JsonProperty("user_id")
    private String userId;

    @ApiModelProperty(value = "用户名称")
    private String name;

    @ApiModelProperty(value = "用户邮箱")
    private String email;

    @ApiModelProperty(value = "权限类型")
    private Integer ttype;

    @ApiModelProperty(value = "创建者名称")
    private String creator;

    @ApiModelProperty(value = "创建者名称")
    @JsonProperty("created_dt")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy/MM/dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createdDt;
}
